import Mock from 'mockjs2'
import { builder } from '../util'

//
const messageData = () => {
  return builder([
    { 'key': 1,
      'backTime': '2014-12-24 23:12:00',
      'reason': '写的什么1234567'
    },
    { 'key': 2,
      'backTime': '2014-12-24 23:12:00',
      'reason': '写的什么1234567'
    },
    { 'key': 3,
      'backTime': '2014-12-24 23:12:00',
      'reason': '写的什么1234567'
    },
    { 'key': 4,
      'backTime': '2014-12-24 23:12:00',
      'reason': '写的什么1234567'
    }
  ])
}

Mock.mock(/\/api\/message\/back/, 'get', messageData)
